﻿<!--
//********************************************************************************//
//创建日期：<创建日期，2017-08-4>
//创建作者：<刘职源>
//功能说明：报表权限配置
//********************************************************************************//
    -->
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="X-UA-Compatible" content="IE=8" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <link href="../../../../css/main.css" rel="stylesheet" />
    <link href="../../../../JS/layui/css/layui.css" rel="stylesheet" />
    <script src="../../../../JS/layui/layui.js"></script>
    <script src="../JS/AddEditCancel.js"></script>
    <script defer src="../PageJS/common.js"></script>
    <script src="../../../../PageJS/common.verify.js"></script>
    <script defer src="../PageJS/XT/ReportPermision.js"></script>

    <style type="text/css">
        /*.tabinfo {
            line-height: 29px;
        }

            .tabinfo input {
                height: 27px;
            }*/
      
    </style>
</head>
<body>
    <form class="layui-form">
        <div id="divContent" style="width:98%;margin:auto">
            <div class="tabletitle1" align="center" style="height:23px">
                报表权限配置
            </div>
            <div style="height:10px"></div>
            <div>
                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label" style="width:70px">分配方式:</label>
                        <div class="layui-input-inline" style="width: 80px;">
                            <select id="cAssignObject" lay-filter="cAssignObject">
                                <option value="0">用户</option>
                                <option value="1">角色</option>
                            </select>
                        </div>
                        <label class="layui-form-label" id="lab_Name" style="width:70px">名字/账号:</label>
                        <div class="layui-input-inline" style="width: 70px;">
                            <input id="cName" autocomplete="off" class="layui-input">
                        </div>
                        <label class="layui-form-label" id="labBM" style="width:35px">部门:</label>
                        <div id="divCBM" class="layui-input-inline" style="width: 110px;">
                            <select id="cBM">
                                <option value="0">&nbsp;</option>
                            </select>
                        </div>

                        <div class="layui-input-inline" style="width:60px">
                            <button id="oSearch" class="layui-btn layui-btn-primary" lay-filter="search" type="button">查询</button>
                        </div>                        
                    </div>
                    <div class="layui-input-inline" style="float:right;text-align:right">
                        <button id="iBtnSave" class="layui-btn layui-btn-primary" type="button">保存</button>
                    </div>
                </div>
                <div id="divUserList" style="float: left; width:48%; vertical-align: top;">
                    
                    <div style="overflow: auto; width: 100%; height: 600px; border: 1px solid #e2e2e2;">
                        <table id="ContentList1" name="ContentList" class="layui-table" style="width:100%">
                            <thead>
                                <tr>
                                    <th style="width:25%;text-align:center">用户ID</th>
                                    <th style="width: 25%; text-align: center">用户名</th>
                                    <!--<th style="width: 25%; text-align: center">账号</th>-->
                                    <th style="width: 25%; text-align: center">部门</th>
                                </tr>
                            </thead>
                        </table>

                        <table id="ContentList2" name="ContentList2" class="layui-table" style="width:100%;display:none;">
                            <thead>
                                <tr>
                                    <th style="width:25%;text-align:center">角色ID</th>
                                    <th style="width: 75%; text-align: center">角色名称</th>
                                </tr>
                            </thead>
                        </table>
                    </div>
                    <div><span id="sCont">人员数:</span> <span id="lsCount"></span></div>
                </div>
                <div style="float:left;width:1%">&nbsp;</div>
                <div style="float:left;width:45%">


                </div>
            </div>

            <div style="width:100%;margin:auto;  vertical-align: top;">

                <div style="float:right;width:50%">
                   
                    <fieldset class="layui-elem-field" style="overflow: auto; height: 600px">
                        <legend style="font-size:13px"><input type="checkbox"lay-filter='SelectAll' lay-skin="primary"> &nbsp;&nbsp;报表列表 </legend>
                        <div class="layui-field-box">
                            <div id="divList">
                            </div>
                        </div>
                    </fieldset>
                </div>
                <div style="float:left;width:1%">&nbsp;</div>
            </div>


            <label id="lsOperateInfo" style="display:none" vid="0" vid2="0"></label>
            <label id="lsOperateInfo1" style="display:none" vid="0" vid2="0"></label>

            <table id="ItemStr1" style="display: none">
                <tr class="datarow" style="cursor:pointer" vid="objUserId">
                    <td style="text-align:right">objUserId</td>
                    <td style="text-align:center">objUserName</td>
                    <!--<td style="text-align:center">objAccount</td>-->
                    <td style="text-align:center">objDepartmentName</td>
                </tr>
            </table>
            <table id="ItemStr2" style="display: none">
                <tr class="datarow" style="cursor:pointer" vid="RoleID">
                    <td style="text-align:right">RoleID</td>
                    <td style="text-align:center">RoleName</td>
                </tr>
            </table>
        </div>
    </form>
</body>
</html>
